import request from '@/utils/request'

const api_name = '/admin/personal/data'

export default {
  getDeviceStatus() {
    return request({
      url: `${api_name}/device`,
      method: 'get'
    })
  },
  getOrderStatus() {
    return request({
      url: `${api_name}/order`,
      method: 'get'
    })
  },
  getSalary() {
    return request({
      url: `${api_name}/plan`,
      method: 'get'
    })
  }
}
